Authentication serious bug fixed