Implement authentication via client credentials

Implement authentication via client credentials (for resource servers) when running under Node.js
this line should be indented another space