fixed bug where after stipping the username and password from the url `/` would be incorrectly added to the end of the string