Allow user detection to include username as well as email field.