added password length check in password broker.