BAC-878 remove temp code and change default memcached handler

(cherry picked from commit 62ea2032a4fcdcc97be64cbd2a38ab8aff1cd261)