Fixed authentication using email.