The authority under an enactment to appoint a public officer is authority to appoint during pleasure. RSA 1980 cI-7 s19