Due to the combination of OAuth and SOP, you must use login with the browser, chrome with the --disabled-web-security flag