Yeah, you put the author's name in the opf:role's value field instead of the dc:creator value field.
The opf:role for the dc:creator property should be "aut".
If you use Sigil's Metadata editor to Add the Author metadata, you only need replace the [Author name here] part. The aut role will be pre-populated already.