made download act like wget with regards to username/password combos