Fix gerrit_try_login state to return valid status

As gerrit_try_login state returns only success status
regardless of username or password provided, call of
'curl' command was changed.

Change-Id: I3ffa4bd470a7cb7c7a13fda3ad234d5282445e3f
1 file changed