Added hasPassword policy for checking a menu id against a password inside a request.