When use Login with ayax, at first time login get an error. When retry I can access, but then already lost the first time login redirect…