[NEXUS-6490] Use base url if not set in the request
[NEXUS-6490] Fix UTs