fixes #8498 - undo changes to unattended_controller.rb - breaks tests