Fixed the forgotten password functionality.