Simpler check_password