HIVE-7416 : provide context information to authorization checkPrivileges api call (Thejas Nair, reviwed by Jason Dere)