Fixed login issues
[4.8.1]
Fixed
- Prevent login fail for users with id defined by ObjectId and not email
- Prevent the app from crashing with
AttributeError: 'NoneType' object has no attribute 'message'
AttributeError: 'NoneType' object has no attribute 'message'