small tweaks on SignatureAuthentication