Saves session cookie over http and https