Hash sid in mongo

To improve the security, the sid saved in mongo should be hashed. So if the db be hacked. The data still safe.

The hash algorithm and salt is customizable. Default hash algorithm is "sha1". Default salt is "connect-mongo".