Support for optional steps in authentication interaction