Added basicAuth to image loader