Error retrieving licenses when relative URL in use

Seen in 'Admin Area' > 'License' with a relative URL (/gitlab).
The URL is returning a 404 because the API endpoint is missing.

bug-licenses-path

Related Issues

#11107 (closed), #11121 (closed)

regression:11.10 ~licensing