Fix for registering user changing password