Switch to riak_core_security:is_enabled and add missing file