adds clientconfig cookie to hapi server.js