logout cookie fixes