Fix behaviour of #oauth.hasScope when used in or expressions

Because `#oauth2.hasScope` will throw an exception instead of returning `false` by default, the condition cannot be used in `or` expressions where the first expression fails.