SPARK-1569 Spark on Yarn, authentication broken