Use entity parameter for agent_base_url ...

... in configuration getValue function, if agent_base_url is requested
use the entity parameter if it exists else use global configuration
parameter.