Add implementation for Basic Auth when uploading images