Fixes #363. Delete token from db on logout