[COOK-3222] Added optional password length parameter (w/ no padding) to secure_password

This is a version of [COOK-3222] with no padding.