[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
Not sure where you want $admin and $l_success adding as they are not, as far as I can see, used anymore in this part of the code