Modified authentication (APIkey) to attempt email lookup in addition to username lookup