Fixed #12571 -- attach originating WSGIRequest to test client responses

Originating WSGIRequests are now attached to the ``wsgi_request`` attribute of
the ``HttpResponse``.