add indexes on authmap table to avoid full table scans