feat(tests): Added tests for login and logout

fix(syn): Type automatically triggers an input event.

It happens after the value has been set.