Finish sign in (with some errors in tests