Hotfix course_specific_reg/login for OpaqueKeys

@sefk @stvstnfrd 

This is a hotfix, probably.