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

See [#17903](https://code.djangoproject.com/ticket/17903).
Well, this should be the one used in the full test case. I will be using this one here for now, and suggest a ticket to refactor that test case for testing the backend and not the model.