Allow user reset password

This pull request resolves the issue #911.