Fix gen_cert_report to use CourseKeys.