Adding Windows auth test.

Currently this is a duplicate of the Linux one. This should be abstracted
into a base class somehow.