AMBARI-7577. Fix broken unit tests for Ambari Web. (jaimin)