Token key is configurable
Start writing working unit tests
Renamed generateSession into generate (like connect.session)