iOS has you re-enroll your face or fingerprint on the initial setup. Once you set it back up, apps are required to use the official authentication API, so it keeps working after the transfer, as the apps see no real difference.