Fixed issues with empty password being hashed and openid email addresses not being encrypted.