Fix the confusing use of encrypted_password as the simple password
Now password is the plain text password passed into the server
and encrypted_password is the field in the db