Handle the AllowOnlyAutheticatedUser parameter

Handle the AllowOnlyAutheticatedUser parameter: if set to true authentication is mandatory