Added exception logging in pipeline. Added tests for basic auth.
Completed basic auth support + tests