Fix enable_password checking.