YARN-2606. Application History Server tries to access hdfs before doing secure login (Mit Desai via jeagles)