Fixes bug related to password complexity limits
Fixes bug related to password complexity limits

In some cases the randomly generated password can not fulfill the
complexity requirements. This patch adds a retry in case of failure with
a maximum limit suitable from a practical standpoint.

pellaeon/bsd-cloudinit,bincentvaret/bsd-cloudinit,pellaeon/bsd-cloudinit,stackforge/cloudbase-init,telerik/cloudbase-init,CropCircleSys/bsd-cloudinit,cmin764/cloudbase-init,ader1990/cloudbase-init,alexpilotti/cloudbase-init,stefan-caraiman/cloudbase-init,openstack/cloudbase-init,chialiang-8/cloudbase-init,whiteear/cloudbase-init