Fixes repeated 401 with digest auth using sessions