Fixed issue returning student instead of teacher in certificates in sessions - refs #6694