I solved it!
In my AppDelegate in the didFinishLaunchingWithOptions there were checks for push notifications, registrations in fabric and firebase etc. I don't know why, but you need check exists apple auth earlier then something.
This part should be the first in didFinishLaunchingWithOptions:
if #available(iOS 13.0, *) {
		let appleIDProvider = ASAuthorizationAppleIDProvider()
		appleIDProvider.getCredentialState(forUserID: KeychainItem.currentUserIdentifier) { (credentialState, error) in
				print(error)
				switch credentialState {
				case .authorized:
						DispatchQueue.main.async {
								self.window?.rootViewController?.showMainViewControllerAuth()
						}
				case .revoked, .notFound:
						DispatchQueue.main.async {
								self.window?.rootViewController?.showMainViewControllerNoAuth()
						}
				default:
						break
				}
		}
}