Revert "Fix middleware to not access session fields without user auth"
Revert "Fix middleware to not access session fields without user auth"

This reverts commit a62944985d12b5ed516e5fdaf97bb4083c55da41
VaneCloud/horizon,mrunge/horizon,redhat-cip/horizon,ikargis/horizon_fod,flochaz/horizon,CiscoSystems/avos,icloudrnd/automation_tools,agileblaze/OpenStackTwoFactorAuthentication,Daniex/horizon,gochist/horizon,tellesnobrega/horizon,agileblaze/OpenStackTwoFactorAuthentication,j4/horizon,vladryk/horizon,nvoron23/avos,openstack-ja/horizon,newrocknj/horizon,bigswitch/horizon,bigswitch/horizon,endorphinl/horizon,yanheven/console,promptworks/horizon,FNST-OpenStack/horizon,gerrive/horizon,Daniex/horizon,xinwu/horizon,VaneCloud/horizon,coreycb/horizon,wangxiangyu/horizon,endorphinl/horizon,blueboxgroup/horizon,newrocknj/horizon,Hodorable/0602,gochist/horizon,icloudrnd/automation_tools,davidcusatis/horizon,icloudrnd/automation_tools,spring-week-topos/horizon-week,Tesora/tesora-horizon,idjaw/horizon,BiznetGIO/horizon,Metaswitch/horizon,Dark-Hacker/horizon,redhat-openstack/horizon,sandvine/horizon,mrunge/horizon_lib,aaronorosen/horizon-congress,vladryk/horizon,NCI-Cloud/horizon,rickerc/horizon_audit,kaiweifan/horizon,kfox1111/horizon,takeshineshiro/horizon,Mirantis/mos-horizon,watonyweng/horizon,openstack/horizon,Metaswitch/horizon,davidcusatis/horizon,VaneCloud/horizon,kaiweifan/horizon,damien-dg/horizon,takeshineshiro/horizon,Solinea/horizon,promptworks/horizon,RudoCris/horizon,Hodorable/0602,saydulk/horizon,ChameleonCloud/horizon,r-icarus/openstack_microserver,redhat-openstack/horizon,bigswitch/horizon,maestro-hybrid-cloud/horizon,Solinea/horizon,mrunge/horizon,maestro-hybrid-cloud/horizon,yeming233/horizon,ging/horizon,NeCTAR-RC/horizon,sandvine/horizon,mandeepdhami/horizon,izadorozhna/dashboard_integration_tests,CiscoSystems/avos,maestro-hybrid-cloud/horizon,bac/horizon,Dark-Hacker/horizon,j4/horizon,noironetworks/horizon,idjaw/horizon,tqtran7/horizon,davidcusatis/horizon,wolverineav/horizon,wangxiangyu/horizon,bac/horizon,blueboxgroup/horizon,damien-dg/horizon,agileblaze/OpenStackTwoFactorAuthentication,anthonydillon/horizon,Tesora/tesora-horizon,j4/horizon,spring-week-topos/horizon-week,wangxiangyu/horizon,openstack-ja/horizon,netscaler/horizon,Dark-Hacker/horizon,endorphinl/horizon-fork,karthik-suresh/horizon,redhat-openstack/horizon,tsufiev/horizon,flochaz/horizon,aaronorosen/horizon-congress,sandvine/horizon,maestro-hybrid-cloud/horizon,karthik-suresh/horizon,Daniex/horizon,Daniex/horizon,zouyapeng/horizon,liyitest/rr,dan1/horizon-proto,dan1/horizon-proto,flochaz/horizon,luhanhan/horizon,tsufiev/horizon,noironetworks/horizon,tqtran7/horizon,endorphinl/horizon-fork,doug-fish/horizon,redhat-openstack/horizon,yjxtogo/horizon,saydulk/horizon,coreycb/horizon,blueboxgroup/horizon,idjaw/horizon,mrunge/horizon_lib,froyobin/horizon,henaras/horizon,spring-week-topos/horizon-week,damien-dg/horizon,mdavid/horizon,liyitest/rr,tqtran7/horizon,kfox1111/horizon,citrix-openstack-build/horizon,FNST-OpenStack/horizon,wangxiangyu/horizon,wolverineav/horizon,sandvine/horizon,coreycb/horizon,JioCloud/horizon,ikargis/horizon_fod,JioCloud/horizon,philoniare/horizon,wolverineav/horizon,tsufiev/horizon,Metaswitch/horizon,endorphinl/horizon,yjxtogo/horizon,liyitest/rr,openstack/horizon,endorphinl/horizon-fork,NCI-Cloud/horizon,mandeepdhami/horizon,yjxtogo/horizon,davidcusatis/horizon,dan1/horizon-x509,watonyweng/horizon,BiznetGIO/horizon,bigswitch/horizon,NeCTAR-RC/horizon,luhanhan/horizon,mandeepdhami/horizon,saydulk/horizon,vladryk/horizon,openstack-ja/horizon,eayunstack/horizon,zouyapeng/horizon,mdavid/horizon,mdavid/horizon,yeming233/horizon,xme1226/horizon,netscaler/horizon,watonyweng/horizon,damien-dg/horizon,kfox1111/horizon,watonyweng/horizon,NCI-Cloud/horizon,newrocknj/horizon,ChameleonCloud/horizon,mrunge/openstack_horizon,karthik-suresh/horizon,NeCTAR-RC/horizon,saydulk/horizon,ikargis/horizon_fod,pranavtendolkr/horizon,r-icarus/openstack_microserver,kaiweifan/horizon,xme1226/horizon,RudoCris/horizon,endorphinl/horizon-fork,yanheven/console,promptworks/horizon,zouyapeng/horizon,VaneCloud/horizon,CiscoSystems/horizon,nvoron23/avos,gerrive/horizon,Hodorable/0602,anthonydillon/horizon,eayunstack/horizon,izadorozhna/dashboard_integration_tests,CiscoSystems/horizon,endorphinl/horizon,Tesora/tesora-horizon,mrunge/horizon_lib,rickerc/horizon_audit,redhat-cip/horizon,Mirantis/mos-horizon,citrix-openstack-build/horizon,xinwu/horizon,gochist/horizon,ging/horizon,JioCloud/horizon,orbitfp7/horizon,aaronorosen/horizon-congress,yjxtogo/horizon,Solinea/horizon,henaras/horizon,Solinea/horizon,tanglei528/horizon,django-leonardo/horizon,noironetworks/horizon,netscaler/horizon,FNST-OpenStack/horizon,redhat-cip/horizon,CiscoSystems/avos,django-leonardo/horizon,CiscoSystems/horizon,doug-fish/horizon,newrocknj/horizon,wolverineav/horizon,noironetworks/horizon,Metaswitch/horizon,froyobin/horizon,openstack/horizon,j4/horizon,tanglei528/horizon,tsufiev/horizon,promptworks/horizon,redhat-cip/horizon,NeCTAR-RC/horizon,django-leonardo/horizon,gerrive/horizon,anthonydillon/horizon,henaras/horizon,CiscoSystems/horizon,mdavid/horizon,CiscoSystems/avos,yanheven/console,liyitest/rr,orbitfp7/horizon,icloudrnd/automation_tools,xme1226/horizon,kfox1111/horizon,philoniare/horizon,orbitfp7/horizon,doug-fish/horizon,FNST-OpenStack/horizon,pranavtendolkr/horizon,BiznetGIO/horizon,vladryk/horizon,bac/horizon,Mirantis/mos-horizon,blueboxgroup/horizon,NCI-Cloud/horizon,coreycb/horizon,citrix-openstack-build/horizon,dan1/horizon-x509,openstack/horizon,xinwu/horizon,dan1/horizon-x509,karthik-suresh/horizon,tanglei528/horizon,luhanhan/horizon,xinwu/horizon,mrunge/openstack_horizon,agileblaze/OpenStackTwoFactorAuthentication,ChameleonCloud/horizon,Hodorable/0602,pranavtendolkr/horizon,RudoCris/horizon,tellesnobrega/horizon,philoniare/horizon,pranavtendolkr/horizon,ChameleonCloud/horizon,Mirantis/mos-horizon,BiznetGIO/horizon,yeming233/horizon,bac/horizon,yeming233/horizon,rickerc/horizon_audit,tqtran7/horizon,mandeepdhami/horizon,tellesnobrega/horizon,eayunstack/horizon,doug-fish/horizon,nvoron23/avos,dan1/horizon-x509,ging/horizon,Tesora/tesora-horizon,tellesnobrega/horizon,mrunge/openstack_horizon,mrunge/horizon,django-leonardo/horizon,idjaw/horizon,takeshineshiro/horizon,anthonydillon/horizon,flochaz/horizon,Dark-Hacker/horizon,takeshineshiro/horizon,henaras/horizon,dan1/horizon-proto,zouyapeng/horizon,gerrive/horizon,r-icarus/openstack_microserver,orbitfp7/horizon,ging/horizon,RudoCris/horizon,philoniare/horizon,luhanhan/horizon,nvoron23/avos,froyobin/horizon,dan1/horizon-proto