add support for passing cookie to socket ui via token