fix broken session cookies