A singular elliptic problem related to the membrane equilibrium equations