TO BE REMOVED: temporary hack for user switch

Change-Id: If6d0f038de9b30d9c6f52a98778fd2dfa7f7d964
diff --git a/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/filters/GitHubOAuthFilter.java b/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/filters/GitHubOAuthFilter.java
index 03010b4..127f310 100644
--- a/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/filters/GitHubOAuthFilter.java
+++ b/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/filters/GitHubOAuthFilter.java
@@ -84,6 +84,11 @@
   }
 
   private AccountExternalId getGitHubExternalId(CurrentUser user) {
+    try {
+      accountCache.evict(user.getAccountId());
+    } catch (IOException e) {
+    }
+
     Collection<AccountExternalId> accountExtIds =
         accountCache.get(((IdentifiedUser) user).getAccountId())
             .getExternalIds();