Fixes to Mongo user session provider