Add PGP api for changing a user's passphrase
fix tests