[ticket/11824] Add tests for urls with mod_rewrite enabled

PHPBB3-11824