Fixed reference to ASN1 type constant

Hi,

This pull request fixes a reference to one of the ASN1 type constants which had the wrong case and prevented the emailAddress from being extracted into the result.
It also removes the console.log call which obviously was a leftover from some debugging attempt.

Please apply.