publish: fixing auth issues

generated from commit 031bf235db68666971592911973899644e119cfa