Work some cookie magic to make logout actually log out.