Code style fixes and added an authentication success handler that gets invoked after a successful login. The default behaviour is to redirect to the default route/state. Not documented.