When connecting, if prompting for credentials, it should be possible to save them (effectively updating your config and/or secure credentials storage)
Note that saving must happen only after a successful connection, so that incorrect credentials never get saved