fixed restorewithauth's assumptions about the # of indexes on system.users #527