Fixing validation exception for valid security group

Now casting the id of the allowed security group to a
six.text_type() to avoid type mismatching when using ids.

Change-Id: Iff2e442501d9c85c2b73c9a36114728830b04701
Closes-Bug:  #1384743
Merge "Fixing validation exception for valid security group"