[feature/alt-session-storage] Fix regressions caused by test frameworks

PHPBB3-11705