Fixed the forgotten password functionality.

Fixes https://github.com/kaspernj/awesome_tasks/issues/49