change authority and scheme to just a uri base, which should not end in a slash