Any county may sue and be sued by its name, and suits against the county shall be instituted in any court having jurisdiction of the amount sitting at the county site; but suit shall not be brought by the county without the authority of the board of supervisors, except as otherwise provided by law.