Convert auth demo to coroutines.