Cache user course privileges during OpenID Connect authorization.

I didn't realize that django caches handled `in`. Does this end up doing 2 queries to memcache (one to check existence, and one to get/set the value)?