Fix EZP-23683: session is always started for legacy_mode SiteAccess
Merge pull request #1099 from joaoinacio/legacymode_session

Fix EZP-23683: session is always started for legacy_mode SiteAccess