Fixes password reset