pub(crate) async fn configure_client( server_name: &str, config_path: &str, ) -> Result<Client>
Configure the client so it’s ready for sync’ing.
Will log in or reuse a previous session.