Update login and registration to work with new password encryption.