I had these lines previous commented out as it was causing a bug described at http://stackoverflow.com/questions/22698661/mongodb-error-setting-ttl-index-on-collection-sessions. When these lines are commented out, users do not stay logged in. Persistence between F5 is gone and the user is not "logged in" if they go to reset their password among other processes. This bug was caused in commit 4ebe829 and I am reverse-committing into develop to fix the bug.