fixed bug with password recovery when using a "login" instead of default "email"