Fixed error : raise TypeError(repr(o) + " is not JSON serializable") , TypeError: ObjectId('') is not JSON serializable
Merge pull request #313 from delciotorres/master

The mongoengine auth example won't work TypeError and AttributeError