Latest changes to authentication.