cowboy_resource: do not die of missing session