Add support for automation_allowed and challenge_required