Problem: test_security_curve does't try wrong mechanisms

Solution: check that it rejects attempts to connect to a CURVE server
using NULL or PLAIN client.