HIVE-4233-relogin - check if security enabled first
HIVE-4233-relogin - check if security enabled first - comment