private File addPasswordFile() throws IOException {
   passwordFile = TestFileUtil.createTempFile("password.properties");
   passwordFile.deleteOnExit();
   final String nonAdmin = "jez=ThmbShxAtJepX80c2JY1FzOEmUk=\n"; // in plain text: badger
   final String admin1 = "admin1=W6ph5Mm5Pz8GgiULbPgzG37mj9g=\n"; // in plain text: password
   FileUtils.writeStringToFile(passwordFile, nonAdmin + admin1);
   return passwordFile;
 }
 private GoConfigFileHelper(String xml, GoConfigDao goConfigDao) {
   new SystemEnvironment().setProperty(SystemEnvironment.ENFORCE_SERVERID_MUTABILITY, "N");
   this.originalXml = xml;
   assignFileDao(goConfigDao);
   try {
     File dir = TestFileUtil.createTempFolder("server-config-dir");
     this.configFile = new File(dir, "cruise-config.xml");
     configFile.deleteOnExit();
     sysEnv = new SystemEnvironment();
     sysEnv.setProperty(SystemEnvironment.CONFIG_FILE_PROPERTY, configFile.getAbsolutePath());
     initializeConfigFile();
   } catch (IOException e) {
     throw bomb("Error creating config file", e);
   }
 }