BearerToken tests and fixes
Fix MacToken interface to match it with TokenInterface
Oauth2/Plugin tests and fixes
Oauth2/Manager tests and fixes