[WindowsPlatform] Don't crash if some credential fields are null