Fixes #1104 Activating user doesn't update the cache

#1104 & #1007