Fixed mongodb connection on AppFog.