Added check for list-keys and 2i security on non-default bucket-types.

Test for basho/riak_kv#950