Allow email as username during login

RESOLVES easydigitaldownloads/Easy-Digital-Downloads#1827