If you know your apiKey you can insert it manually, it works:
self.manager.setCookies(cookies, function(err) {
if(err) {
if(err.message.indexOf('429') != -1){
self.manager.apiKey = "***";
self.manager.doPoll();
}else{
self.relogin(err, callback);
return;
}
}
self.apiKey = self.manager.apiKey;
self.steam.chatLogon();
self.online = true;
if (typeof(callback) === 'function') {
callback();
}
});