Fixed an issue that caused an exception to be thrown when a user doesn't change their password.