Some session implementations.

1. change password generator util.
2. add some codes of `Session Provider` and `Session Manager` in session
module.