Add cosign authentication

Can get basic mprint api methods using cosign. The cosign code is not
very robust, and doesn't handle bad passwords well