add client side cookie switch to force mock enabling

Are hapi state variables not available at this point?