Fix issue with secret token