You might want to be more explicit about what exception is raised here, or check it. With security enabled on the cluster, this spec passes.