Logs a user in, no redirects.
AftersuccessfulLogin event is called if the second parameter is set to true.
name of the user to be logged in.
optional. AftersuccessfulLogin event will be called if the second parameter is set to true or omitted.
No return value.
Authorize the current user: