If using HTTP Basic, don't send credentials if they are left blank