Added fix for secret key being used instead of shared key for Computing signature.