Thread login auth properly.