Fixed sspi_CopyAuthIdentity when using ANSI encoding

Checking source for encoding now, instead of destination.