Use new header for client ip to fix bug 1025325

Change nginx to pass through headers with underscores
Change sign_agreement view to use HTTP_X_CLUSTER_CLIENT_IP with
HTTP_X_FORWARDED_FOR as fallback