[ticket/12985] Add core.login_box_redirect

Add core.login_box_redirect core event to allow extensions to redirect a
user to a specific page when logging in.

PHPBB3-12985
Please also add `result` which is the return value from the authentication plugins