Fixes an issue with auth and redirects
Fixes an issue with auth and redirects

revolunet/requests,dvska/requesocks,Bluehorn/requests,msabramo/requests,revolunet/requests,psf/requests,hph86/requesocks,abueesp/requesocks