Update class-wc-json-api.php

setToken added