Allow authentication via NetworkCredentials

Added method, and tests, to authenticate using
System.Net.NetworkCredentials. Has the added bonus of letting users
authenticate with a SecureString from a password box.