[youtube] improved decrypt_signature, closes #1060