public static void main(String[] args) throws IOException {
    new AppCookieManager().getAppCookie(args[0], false);
  }
Utility method to exercise AppCookieManager directly
@param args element 0 of args should be a URL to hadoop service protected by SPengo
@throws IOException in case of errors
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AppCookieManager.java