Replace 'safe=True' when saving mongo sessions with 'w=1'