3rd-party pipeline supports updating email optin

Fix all the 3rd party auth scenarios.

Update pipeline to preserve parameters.

Updating tests
Merge pull request #6179 from edx/sanchez/email_optin_third_party

3rd-party pipeline supports updating email optin