Update login handling code to no longer listen for removed events and fix the credential check on dispatch to work cross platform.
Update login handling code to no longer listen for removed events and fix the credential check on dispatch to work cross platform.

mitechie/juju-gui,mitechie/juju-gui,mitechie/juju-gui,mitechie/juju-gui