Many changes to do with authentication.