Simpler RegisterResponse parsing

This PR removes the manual X.509 parsing in RegisterResponse. OpenSSL happily ignores trailing bytes, so we can pass it the certificate and the signature.