#10 Fixed RESTCodec when no cookie is available.