Improve test http server path matching

Instead of relying on the order of the query args in the string, we could
just use the builtin tools in the stlib to make matching this a lot more
robust.
'cf events' only shows last 50 events in reverse chronological order

[Finishes #67248400, #63488318, #66900178]