Fixes bug in TYPO3 session handling