Fail nicely if logout fails.