[provision] Take SPN into account when finding APNs