Add support for promises on req.login.

Closes #225.