Fixes #5172: Run the ncf api as the ncf-api user instead of the httpd on...

...e

Ticket: http://www.rudder-project.org/redmine/issues/5172

To be merged in 2.11
I don't see any reason for this major reindent. It makes the diff really hard to read, and this is dodgy when we are trying to stabilise this version. Please revert to minimal changes, and apply a reindent commit on Master if this is important to you.