AMBARI-7771 Change the way UI requests privileges of logged user. (Ievgen Fialkovskyi via ababiichuk)