Fix issue with shared secret