capture ValueError raised if userid is invalid
Merge pull request #2 from blatherme/master

Capture ValueError in password reset if userid is invalid