Enable invitations whenever invitations are enabled.

Use the same logic as GNU social does: invitations enabled and registration not closed.