[api] found a way to stay backward compatible and still support credentials for inter connect URLs