A simple Node.js client that authenticates to a ruby api that uses api_auth: https://github.com/mgomes/api_auth