Fixes repeated 401s when using DigestAuth with a session