make Auth examples work with new-style declarations