fix importlib loading from older versions and fallback to 'username' in case user has no USERNAME_FIELD attribute