Refactor verbose debugging to be consistent
Add implementation for Basic Auth when uploading images