Description
When running the e2e harness tests in src/test/e2e/hcatalog/, The test harness always assumes secure mode even when not using it.
This is because the perl module simply checks that metastore.principal is defined, not checking if its value is empty or invalid before using that as proof that we are running in secure mode. To complicate matters, the build.xml we have always sets metastore.principal unless we explicitly define "-Dmetastore.principal=" (blank value)