api/server: fix profiler HTTP serving Upstream-commit: b3e9c274ddadde302d927a866c8704be77c871e0 Component: engine