[feature/auth-refactor] Fix two session tests broken by changes

PHPBB3-9734