Don't logout on second click, but actually just continue, as if per
login (like the behaviour of facebook)