How do I perform authentication of the WebSocket API?