Set immediate mode to false when we want the user to authorize the application.