Throws list.
Add HttpHeaders.ACCEPT.
Add logging configuration for tests.
Fine grained exception handling for status code.
Fix authentication failure handling.
Refactor auth response.