mod_wsgi / location http header fix

https://github.com/omab/python-social-auth/issues/377

In regards to the mod_wsgi problem we were having.