Clear User cache

hello,
We have a custom login implementation for confluence and each time user logs in we would like to clear cache so that permissions are updated.We recently upgraded to 7.13.2 and looks like a lot has changed in how cache is handled and currently I am not able to inject class com.atlassian.confluence.impl.user.crowd.CachedCrowdEntityCacheKey which was previously com.atlassian.confluence.user.crowd.CachedCrowdEntityCacheKey.Anyhelp??

Thanks
Syed