If this happens too often, uncheck everything but "UI Prompt" in
Preferences/General/Security/Secure Storage/Master password providers
Then delete storage on Contents tab.
Atelier will create a master password and will ask you for it on every startup. This is annoying, but sometimes better than having to recreate connections from scratch.