All moneys, county warrants or other indebtedness paid out or ordered to be paid out by any of the said county commissioners before mentioned, without authority of law, each and every county commissioner so doing shall be liable for and to the county for the amount so by them paid out without authority of law and all the costs and expenses incurred in the recovery of such money, which amount shall be collected and recovered in a suit before the district court, and upon the said bond, in the same manner as other actions.