SECOAUTH-385: fix broken URI query string parsing