add support for database options in create_principal