Refresh temp token

paired with @pld on #740 though my first 3 commit shows my name only. closes #740