Issue #1 - Fixed how is authorization handled
Issue #2  - Added username and password for basic authorisation.