Fix User model compatibility shim so it uses the django-provided mechanism