Fixed bug when using client without a cookiejar
Merge branch 'feature-location-after-redirect' into patch