kdc: Fix enterpise principal name handling