MC-45: Connects to Magento, sends products and manage errors return

Because if you are here, session can not be null. If session is null that's because something went wrong during login, that throw an exception and you are not able to export.