Fixed a bug in the single sign out