[ticket/12360] Fix double session created

PHPBB3-12360