Fix server request path generation