Update lib/index.js

Update session config keys to be compatible with connect config keys.