Using session as key for cookies instead of session-id.

Fixed some casing.