Fixed authenticate