[TIMOB-15743] Added support for rejectUnauthorized to all http requests.

[TIMOB-15743] Added support for rejectUnauthorized to all http requests.

Updated setup command to check proxy settings as well as work in offline mode.

Fixed bug when logging in using --username and --password.