Fix token ids for memcached

Bug 1119641

Change-Id: Ia22764acc69a272b37364193d10c553a48679b9a
(cherry picked from commit a62d3afae43ebe191fe86f8d1ebed3e8bfaeba17)