Missing adaptation of getPrincipalName that could lead to domain added twice to the username