fix boolean user lookup check in password reset