Fixes #5342: Login completes if [login, user] event redirects

This solves the problem of having an incomplete logged in session.

Since action/login now has a [login:forward, user] hook in 1.9, I can use that instead of forwarding, but I recommend we keep this change for plugins using the event.