Fix bug with idAuthentication that didn't work for empty group.