[webui] do not call into API for every test case

There is no more need to clear the internal API cache