First step of authentication.