Implement the special 'root' module in the authentication flow.