Change token decrypt test to use new format.
Changed scopes from a Set of symbols to an integer of bitwise flags.