Add authentication support for coroutines.