CLC-2683 (QA) Return nil instead of silly hash when user is not a student

https://jira.media.berkeley.edu/jira/browse/CLC-2683

QA branch version of #1685