Fixed #15179 -- test client's login request is not run through middleware

Requests made with ``django.test.Client.login`` and
``django.test.Client.logout`` respect defaults defined in ``django.test.Client``
instantiation and are processed through middleware now.