basicHttpBinding with basic authentication send first request with no user/pass data
<p>When using WCF basicHttpBinding with basic authentication, I notice that the first request after IIS reset is sent without user/pass data (without Authorization: Basic .... Header data)</p>

<p>Code:</p>

<pre><code>client.ClientCredentials.UserName.UserName = "myUserName";
client.ClientCredentials.UserName.Password = "myPassword";
string anything = client.getValue(@"anyParam..");  
</code></pre>

<p>Config:</p>

<pre><code>&lt;basicHttpBinding&gt;
    &lt;binding name="ServiceNameHereServiceBinding" &gt;
        &lt;security mode="TransportCredentialOnly"&gt;
            &lt;transport clientCredentialType="Basic" proxyCredentialType="None"  
                    realm=""&gt;
            &lt;/transport&gt;
        &lt;/security&gt;
    &lt;/binding&gt;
&lt;/basicHttpBinding&gt;
</code></pre>

<p>After monitor by Fidler, I found that, the first request Always return 401 (go without Authentication header at all), then another request comes out and return 505 error.
After that the service will work good for all further requests.</p>