Fixed bug in saving session keys for guests