[WO-645] Fix: Credentials are not stored after logout