Final fixes to error handling for signin.

It's working great now.