Move oauth2 service out from the plugin, but only keep a reference the service. A sample of the current implementation of oauth2 service is in play-examples.