Fix the creation of URI's to add in user/pass/port options for both GET
and POST.