fixes to the logout and redis token store