Discretization of interior point methods for state constrained elliptic optimal control problems: optimal error estimates and parameter adjustment