Fix for using the correct url to avoid being appended by jsessionid

Reviewer: Cy Casada

Issue: GCP-9793