It seems ApiQuerySiteInfo with siprop=usergroups does not support the group permissions documented in DefaultSettings.php where one can do $wgAddGroups['bureaucrat'] = true;.
ApiQuerySiteInfo: Warning: array_intersect() expects parameter 1 to be an array or collection on line 512