bugfix: login not working on password reset