CDAP-693 handle case where webapp address is not explicitly given

in HA mode for the resource manager.