Added workaround for digest authentication logout