Add route for dev mode to set cookie.