Add test for API URL slash prefixing behavior
What does this MR do?
Adds a test for the forward-slash prefixing behavior added in !50038 (merged) (see this comment).
Adds a test for the forward-slash prefixing behavior added in !50038 (merged) (see this comment).