Add tasks for invalidating authentication caches

OAuthCacheInvalidationTask is perhaps misnamed, because there's nothing OAuth-specific about it. It offers parameter support for authenticators which use simple string credentials (notably OAuthProvider).