Update oauth-provider to use new OSGi APIs