Fixed a couple of bugs in SignInHandler
Finally able to get a JWT token