An experimental vaccine for hepatitis B made by Dynavax Technologies appears to work better in patients with diabetes than current treatments, the company said.