Changed to use settings.AUTH_USER_MODEL instead of get_user_model(), which can cause issues at import time