[ticket/12944] Add core.login_forum_box core event

Add core.login_forum_box core event to allow extensions
performing additional actions on forum login.

<a href="https://tracker.phpbb.com/browse/PHPBB3-12944">PHPBB3-12944</a>.
This needs to be moved after the call to page_header() in order to fix the tests.