Default username_field to username if not set

We didn't have a username_field defined in app/config/auth.php and kept getting an error preventing the authentication from working, would it be beneficial to add a default username_field to LdapAuthUserProvider.php ?