CLC-4132 Fix null teacher roles in zero-padded CCNs

https://jira.ets.berkeley.edu/jira/browse/CLC-4132

@redconfetti already did all the hard work on this but his current branch-in-progress still has some random test failures. I'm pushing this version in the hope of gaining time. The goal would be to also get it into QA in time for testing today.