Update to use new auth function.