Fix errors on revert/undo message generation when using nonstandard auth module