Move 'withCredentials' flag to after the request is opened.  This caused an InvalidStateError when using IE and connecting to a website on localhost.
Move 'withCredentials' flag to after the request is opened.  This caused an InvalidStateError when using IE and connecting to a website on localhost.

EdgarVaguencia/openpay-js,open-pay/openpay-js,genaromadrid/openpay-js,open-pay/openpay-js,genaromadrid/openpay-js,EdgarVaguencia/openpay-js