Fix wrong clear cache, that prevented a login after logout.