SENTRY-289: Kerberos based connection from HS2 and Metastore to Sentry service fails

(Prasad Mujumdar via Jarek Jarcec Cecho)