Corrected authentication procedure