when invoking authorize, on, and off events in the bootstrap, iterate through the queue in the order that the items were added.