update login tokens before rerunning publish functions