Use path.set instead of changePage to go to login. Probably works around a race-condition in our code