Fix error handling in NewPasswordForm