Save cookies between two sessions

in order to avoid reconnecting at each time