GDS-1130: Fix logout not reseting credentials.