Added ability to reset forgotten passwords.
Fixed a bug where password reset requests would never expire.