Fixes password reset POST method