Hotfix course_specific_reg/login for OpaqueKeys