Hooking the logistration page into the new HTTP endpoint for email opt in

Updating the Login and Registration page to accept the email_opt_in parameter, which will set an organization-wide setting for receiving emails.

Related to the ECOM-525 story, sub task ECOM-680

@rlucioni @wedaly 
It might be good to test the behavior when the opt-in parameter is undefined.