Added role_attr_flags to user creation

Hi,

I added this as part of setting up master/slave replication.

The role worked really well!

Cheers

Chris