Authentication fix