fixed #274 Nicer error for password reset
test for #274