Authentication timeout bug fix.