Various middleware changes
Various middleware changes

barseghyanartur/django-security,barseghyanartur/django-security,issackelly/django-security,MartinPetkov/django-security,MartinPetkov/django-security,issackelly/django-security