Fixed avatar cache key bug when using memcached