Changed login extension to only use email address (no username)