Fix clientToken.js userToken.js for apiUrl with path