pub fn registry_login( config: &Config, token_from_cmdline: Option<Secret<&str>>, reg: Option<&str> ) -> CargoResult<()>