[api] fixing a harmful typo
[api] removed legacy route prepare_search
[api] webui tests adapted