fixing bug when UserRestricted on and CACHE_TIME=0
Merge branch 'release-0.11' of github.com:learningequality/ka-lite into release-0.11