This fixes smb_version in cases where the remote server throws a Login error for the default creds (null session).