Make sure AVATAR_USERNAME_FIELD actually has a value before we try to look it up