Password grant feature work.

Why is serialize exception here? You are not serializing.