$ua->credentials("http://test.com:80", "test", 'user', 'pass');