Handle OpenID errors for POST requests.

ECOM-441
Merge pull request #5594 from edx/diana/open-id-bug

Handle OpenID errors for POST requests.