401 on visual recognition

Not sure if this is a Bluemix or Watson problem, but credentials generated by creating a Watson recognition tile on Bluemix are giving 401 errors when integrating into a node.js application. The credentials are correct, the code is small and matches the sample in the API documentation, which also matches the documentation in the SDK.