fixed a bug while receiving VCAP_SERVICE information for mongo db
Added user handling