pub(crate) async fn login( data_dir: &Path, session_file: &Path, ) -> Result<Client>
Login with a new device.