TEZ-633. Fix client security for Tez session APIs. (sseth)
Addendum to TEZ-609. YARN may report 0 capacity for job and grouping needs to take care of that. (bikas)