Global shared token is populated blank

Your code’s logic seems correct, meaning that:

  • either your auth_token chain fails
  • or the 3 seconds delay is not enough for it to complete

Lower the logging level to debug to figure that out.