Fix settings page not closing when the last account is logged out
For some reason, there's a race condition where trying to access settingsPage
during account removal weirds QML out and it refuses to acknowledge it's existence. Now it's moved to SettingsPage where it connects to the onAccountRemoved
signal itself.