Password grant feature work.

I suggest to specify encoding for getBytes()