Add prefix for old style hashes

Add A or B prefix, like User::loadFromRow()

Bug: 69007
Change-Id: I332872933a2d4da54db8c42f64e7141efc996534