Unable to perform password authentication

Figured it out:

https://gist.github.com/jlhawn/8f218e7c0b14c941c41f

The username / password is sent in a basic authentication header (base64 encoded). Still not sure why the documentation states you can POST to that endpoint.