Access to user username with check for USERNAME_FIELD. Refs #657