MDL-52370 course: purge contacts cache on role rename