use native `URLSearchParams` instead.
Co-authored-by: Michal Iwanow <4765119+mcliwanow@users.noreply.github.com>