Audit trails that can be used to identify logins to an Internal Revenue Service’s database containing extensive tax records were often incomplete, according to a report by the Treasury Inspector General for Tax Administration released Monday.