maven: Use the instance base_url as metadata authority URL
instead of just its netloc, as it is possibly to have multiple maven instances hosted under the same domain but at different paths.
The code is also simpler this way.
@borisbaldassari Sounds good?
Migrated from D6771 (view on Phabricator)