Login via user before creation

If ldap is enabled we have to login via user in gerrit
before managing gerrit account, so ldap entry will be
properly linked to gerrit user database.

Change-Id: I2d8d917dd5f129ec4b3c32db3a490b8c656d5a01
Related-prod: #PROD-29665 (PROD:29665)
2 files changed