add support for credentials in getURLContent