Tests: fix several API URLs

Update URLs used for several API tests. Note that this does not fix the
`test_textlabels_nonempty` test, only the response status assertion.