[DEV-2153] Fix base url to carry a query string.