I removed the HostContext param in GetGroupsToken, actually it is not needed, now the form is read once.