MDL-44287 glossary: do not output before redirecting
MDL-44287 glossary: behat test for glossary categories