[josm_directupload] fix #josm7590 - correct use of OSM API URL in order to reuse known credentials + use of user-agent