session: unnecessary Set-Cookie removal

* Removes unnecessary writes to session for guest user.  (closes #2291)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>