use path of the url (excluding query parameters) as none of the wire protocol uses query params.

fixes issue where new session from grid passes in ?null