TEZ-896. Fix AM splits to work on secure clusters when using the mapred
API. (sseth)