[security] Fixed refresh tree for Hive and HDFS