SOAP-1477: Set the profile name if it is null.