Rename OAuth2ServerProvider.php to OAuth2ServiceProvider.php; make oauth2.options work.