Chaining events for login

`hull.auth.login` is triggered only when the settings and credentials are correctly updated.

Tested with the dashboard and local apps