(bug 43874) Fix caching bug causing course pages to not be rebuilt for logged in users

Change-Id: I0ba589ac8879fd448f19291518dc0bdb35eb482e