Right, did you modify the
tyk.conf and the
tyk_analytics.conf to reflect those changes?
If so - all good, otherwise the gateway will not pick up changes properly.
I tried your curl command, but what you've put into the editor here has line breaks in really odd places, I tried this on our cloud (with new user, client and API, and the command worked fine.
When you use the curl command, are you getting rid of all the newlines? i.e.:
curl -X POST http://GATEWAY/oauth-password/oauth/token/ -H 'authorization: Basic ENCODEDCLIENTANDSECRET' -H 'content-type: application/x-www-form-urlencoded' -d 'grant_type=password&client_id=CLIENTID&username=USERNAME&password=PASSWORD'