Trap interrupts.
Add specs for authorization commands.