Make sure we only write one cookie per session