When AuthnResponse message was signed, the signature was processed twice. This fixes the issue.