added token and claims filtering logic for katana client