http header OCS-ApiRequest: true is required in case of session based OCS API calls
Added missing HTTP prefix to the $_SERVER variable
Merge pull request #5615 from owncloud/fixing-5614-master

http header OCS-ApiRequest: true is required in case of session based OC...