Section 14. An action on a note, bond, contract or other liability made to or with any public officer or trustee appointed under a statute may, after his removal, resignation or death, be commenced or, if pending, may be prosecuted by his successor, as it might have been by the person with whom the contract was made.