[connman] Fail connection if an invalid password is given.

Connman check if the password is of valid length etc. Abort connection
with error if this check fails.

This prevents network services being left in a zombie state preventing
later connection attempts to it.