Yes, the `login` method actually makes sure that a logged in or known user is logged out.