Cache: Memcached provider: Create API object before setting options.