Fix token-requiring calls (e.g. update) not working in client