AMBARI-7109 Fix test mode in ambari web. (atkach)