Correction of /api/token requests