remove cache
memoize directory adapter
use group_ids to check membership