Update tests to deal with security enable.disable mechanism


See also basho/riak_core#437