You are treating it like an element, it is an attribute. Refer to the docs here. It is an attribute of the windowsAuthentication
element.
<security>
<authentication>
<windowsAuthentication authPersistSingleRequest="true" />
</authentication>
</security>