OneTimeAuth functions wrapped, passing tests.