Fix cookie deletion