Password grant feature work.

fixed.