added conditional for has_usable_password.