Separate auth from main thread