[ticket/10851] Request index instead of logging in and out in tests

PHPBB3-10851