Update and simplify security.yml, sync with authbucket/oauth2.
Update and simplify security.yml, sync with authbucket/oauth2.

authbucket/oauth2-symfony-bundle,authbucket/oauth2-symfony-bundle,rakesh-mohanta/oauth2-symfony-bundle,rakesh-mohanta/oauth2-symfony-bundle