fix String to principal parsing

The current implementation fail to parse DN with http:// in the value of an attribute