Adapt to changes in Gerrit API AccountCache#getByUsername now returns Optional<AccountState> insteadof a nullable AccountState. Change-Id: I9d791b79a8e8fb9e3ef06610c2a469c6a55dbec1 Signed-off-by: Edwin Kempin <ekempin@google.com>