NXP-14546: returns null if the principal does not exist