remove unused data from the url in the session test script