Add basic authentication support.

And for that method I'd prefer `setAuthCredentials`, so these 2 methods would be bound in naming and their intention is completely transparent. And parameters also should have "full" names, like: `$username` and `$password`, there is no need to save space here :)