don't bother making get request if optional username and password argume...

...nts are undefined