Adds support for building the connect url even if you don't have /plugin/_kopf in path.