added support for auth in pubsubwebsocketclient