GPII-663: Added test fot set invoker when no user logged (thus creating a token).