Cleanup pending transaction during login.
Merge pull request #31 from richtera/master

When using passport.authenticate within server side code _loginUser leaves a transaction