Fix signing with query params