Register APIConnector as an OSGi service. Useful for itests.