YARN-2676. Enhanced Timeline auth-filter to support proxy users. Contributed by Zhijie Shen.

(cherry picked from commit 39063cd36f96e351e4a6bf0bc2b6185711d4b059)