YARN-701. Use application tokens irrespective of secure or non-secure mode. Contributed by Vinod K V.