[#1749] allow login in with email address or prefix of email address.