Improve error handling spec
Finish sign in