init: Don't set username on upgrade if database.type is JDBC

The username may already appear in the url and be working correctly
from a prior installation.  Setting database.username will confuse
Gerrit when it tries to connect without a matching database.password.

Bug: issue 1870
Change-Id: Ib25b48bd8587562e56613815f497efab850a80e8
1 file changed