Update deps
Add config object
Use new config object
Add cookies to config object
Set cookies on requests when relevant