Correct memcached deserialization errors

Resolve issue : https://github.com/alvarosanchez/grails-spring-security-rest/issues/112