Fixed inconsistency in user_lookup when it comes to using e-mail.