fn resolve_login_keychain_entry( username: &str, read: impl FnOnce(&str) -> Result<PasswordLookup, SecretStoreError>, ) -> Result<PasswordLookup>