Fix logic for inserting slash after base URL

Was adding slash if base url didn't end in / OR request path didn't
start with /. Changed to AND.