KNOX-453: HDFS HA not working for secure clusters

(cherry picked from commit 13682b6c0af047b9186d47758c21e2e4a62412bb)