POS-59 cookie module sets a query parameter when redirecting back to the origin