tchype/node-ravendb — pull request #7 by paultyng (2013-07-02 01:16:09+00:00)
Title: Fix context for setAuthorization call

Ran in to this issue when I'm using the library wrapped by [when](https://github.com/cujojs/when) (it may or may not be a related bug). Basically the `setAuthorization` had the wrong `this` for its invocation, so I swapped it in the coffee to wrap it in a closure.