Fixed #17903 -- Inactive users shouldn't have any permissions.

See [#17903](https://code.djangoproject.com/ticket/17903).
Actually I guess the ideal way to test this would be something like:
```
backend = ModelBackend()
backend.get_user_permissions(user)
```