[ticket/11467] Add user object to extension manager for tests

PHPBB3-11467