fix(session): correct cookie session path (refs #5051)

Correct cookie session path for direct directory url
Merge pull request #3 from cbonnissent/3.2-I5051

fix(session): correct cookie session path (refs #5051)