Fix leak: don't leak the settings
Fix crash on first run when no account are configured