Bugfix when create server with security groups

Fix #137
Merge pull request #138 from ggiamarchi/issue#137

Bugfix when create server with security groups