protected boolean handleAsIdempotent(final HttpRequest request) {
        return !(request instanceof HttpEntityEnclosingRequest);
      }
Add an interceptor to pass username/password in the header.
In https mode, the entire information is encrypted
jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java