[ticket/12350] Instantiate Mock Dispatcher for modules_test

As mentioned in #2232 , the test ```modules_test.php::test_modules_auth()``` calls ```module_auth()``` statically, and ```phpbb_dispatcher``` may not be initialized.

PHPBB3-12350