Fix logic bug in auth.js which caused connection to hang on correct login
Fix logic bug in auth.js which caused connection to hang on correct login

clochix/jsDAV,mnutt/jsDAV,WigWagCo/jsDAV,cozy/jsDAV,arcana261/jsDAV,arcana261/jsDAV,mikedeboer/jsDAV,jsilvestre/jsDAV,jsilvestre/jsDAV,9590/jsDAV,9590/jsDAV,protonet/jsDAV,Mailden/jsDAV-original,mikedeboer/jsDAV,mnutt/jsDAV,protonet/jsDAV,Mailden/jsDAV-original,clochix/jsDAV,cozy/jsDAV,WigWagCo/jsDAV