RawApi: Fix mistake preventing authentication

Signed-off-by: Jerome Flesch <jflesch@gmail.com>