Write null as credentials when logging out