a3a3e20 improve authentication