[api] support remote interconnect also with credentials

Regression for OBS 2.0 and before using /lastevents route. They need to be
configured a remoteurl with /public suffix