Updated to include authentication

Removed mechanize and updated to enable support for NTLM, BASIC, DIGEST,
and cookie authentication.