Fixed response parsing.
Added SetBasicAuth method.