Parses a string into a credential name, or null (Nothing in Visual Basic) if the name is an invalid credential name;
The s.