Fixes to Mongo user session provider
Merge pull request #716 from stianst/master

Fixes to Mongo user session provider