Fix installation tests.

Pass '-x POST' to curl