fix session cookies