Adding support for basic authentication when fetching content