Fix inconsistent User cache keys and invalidate numeric ID aliases.