$browser->credentials("hostname.domain.com:80", "EMAN Protected Resource", "myusername", "mypassword");