Fixed authentication logic when server does not send stream:features in the initial response.
Fixed authentication logic when server does not send stream:features in the initial response.

Thanks to Fernando Padilla <fern@alum.mit.edu> for the original patch.

processone/strophejs,damencho/strophejs,gabrielfalcao/strophejs,sualko/strophejs,strophe/strophejs,gabrielfalcao/strophejs,teambox/strophejs,damencho/strophejs,ggozad/strophejs,gabrielfalcao/strophejs,ggozad/strophejs,sualko/strophejs,processone/strophejs,teambox/strophejs,eidmanna/strophe-closure,Voiceworks/strophejs,minddistrict/strophejs,joachimlindborg/strophejs,joachimlindborg/strophejs,minddistrict/strophejs,strophe/strophejs,adozenlines/strophejs,joachimlindborg/strophejs,processone/strophejs,Rom4eg/strophejs,diegocr/strophejs,teambox/strophejs,m800-limited/strophejs,metajack/strophejs,eidmanna/strophe-closure,ggozad/strophejs,metajack/strophejs,m800-limited/strophejs,Rom4eg/strophejs,minddistrict/strophejs,diegocr/strophejs,m800-limited/strophejs,Voiceworks/strophejs,Voiceworks/strophejs,Rom4eg/strophejs,adozenlines/strophejs,damencho/strophejs,adozenlines/strophejs,diegocr/strophejs,strophe/strophejs,sualko/strophejs