add option for auth in curl if required