memcached: set uid to make it work with #1076