[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.