stormpath/stormpath-sdk-node — pull request #102 by robertjd (2014-09-25 22:27:43+00:00)
Title: fixing error status codes for authenticateApiRequest

previously we were issuing 400 for all errors that came out of this
method

now we are returning 401 for any error that indicates a problem
with the supplied credentials or token