Added basic authentication method
Renamed client options to options