Add Fix django.contrib.auth.middleware monkey patching for APITestCase
Add Fix django.contrib.auth.middleware monkey patching for APITestCase

This patch rollbacks changes in APITestCase introduced in the
0d163613265e036818fe567793a4fc88fe140d4a commit to unblock Horizon
plugins gates.

Change-Id: I6b2be31568e4aa4273990f9cfa76ca139620c84b
Closes-bug: #1806053
Closes-bug: #1805240

openstack/horizon,ChameleonCloud/horizon,NeCTAR-RC/horizon,ChameleonCloud/horizon,ChameleonCloud/horizon,noironetworks/horizon,noironetworks/horizon,ChameleonCloud/horizon,openstack/horizon,NeCTAR-RC/horizon,noironetworks/horizon,openstack/horizon,NeCTAR-RC/horizon,noironetworks/horizon,NeCTAR-RC/horizon,openstack/horizon