LP#1435938: Wrap auth check around clearcache URLs