Setting SECURE_PROXY_SSL_HEADER in settings.py and removing middleware CheckHttps as it is no longer reuired