Add support for Mediawiki API login credentials and also HTTP Basic Auth credentials (as per #10)