fixed handling of bearer token invalidation response