I Already found it: turn emulate cloud security off.
Using the Execute Query object (a SELECT ) I now get:
Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: An error occurred while instantiating action 'ExecuteQuery' at com.mendix.core.component.InternalCore.execute(InternalCore.java:398)
Any clues?