Fix 1242: Deployment Setting for Password Length

Solves #1242

Fran and Nursix, Please review this fix.

vishrut009