pub fn registry_logout(
    config: &Config,
    reg_or_index: Option<RegistryOrIndex>
) -> CargoResult<()>