###What happened:
Fatal error: Uncaught exception 'lithium\core\NetworkException' with message 'Could not connect to the database.' in /var/www/gp/libraries/lithium/data/source/MongoDb.php on line 793
###What was expected:
Should login in
#### Problem is
The reason is that in the MongoDB example, the variable persistent is not included and it's defaulting to true, which is wrong. It should probably default to an empty string because it's actually a string and not a boolean. http://php.net/manual/en/mongo.construct.php