Implementation of beginCandidateSession and endCandidateSession in
AssessmentItemSession.