Fixes to user sign out.