[FIX] share: reduce risk of slowdowns during res.groups changes

Databases with thousands of users would experience
poor performance during any change to a group during
an update/install, caused by the prefetching of
all database users when the browse cache contains
most of the groups in the system.