Fix for using the wrong issuer
Remove logging from unit test
Fix for bad hashing and signature generation