fixed authenticate issue I introduced on Friday