Fix for 11417 - spark fails to connect to secure HDFS.