我们使用方法分组来用dubbo，每个分组有自己权限，但是dubbo:registry标签 username & password 不生效，
让我不得不使用
```
    <dubbo:registry
            address="zookeeper://username:pwd@ip:port"
            group="xxx"/>
```
这种写法失效
```
    <dubbo:registry
            address="zookeeper://ip:port"
            username="username"
            password="pwd"/>
```

List<RegistryConfig> tmpRegistries = new ArrayList<RegistryConfig>();
                String[] as = D_REGISTRY_SPLIT_PATTERN.split(address);
                for (String a : as) {
                    RegistryConfig registryConfig = new RegistryConfig();
                    registryConfig.setAddress(a);
                    registryConfig.refresh();
                    tmpRegistries.add(registryConfig);
                }
                setRegistries(tmpRegistries);
            }
        }
    }
    /**
     * For compatibility purpose, use registry as the default config center if the registry protocol is zookeeper and
     * there's no config center specified explicitly.
     */
    private void useRegistryForConfigIfNecessary() {
        registries.stream().filter(RegistryConfig::isZookeeperProtocol).findFirst().ifPresent(rc -> {
            // 
            Environment.getInstance().getDynamicConfiguration().orElseGet(() -> {
                ConfigManager configManager = ConfigManager.getInstance();
                ConfigCenterConfig cc = configManager.getConfigCenter().orElse(new ConfigCenterConfig());
                cc.setParameters(new HashMap<>());
                cc.getParameters().put(org.apache.dubbo.remoting.Constants.CLIENT_KEY,rc.getClient());
                cc.setProtocol(rc.getProtocol());
                cc.setAddress(rc.getAddress());
                cc.setHighestPriority(false);
                setConfigCenter(cc);
                startConfigCenter();
                return null;