KAA-40: Add functionality to restore forgotten password.