Password grant feature work.

The exception is thrown that gets logged at the top level.