Fixed OData connection with SSL

If SSL was activated it wasn't possible to connect via OData. This is now fixed.