Removed django-secure as setting redirect to false didn't turn off redirects.