Added the option to keep query parameters or not to UriRedirect