Riak2 security feature error fix

Hi.
I tried to check the implementation of the riak 2.0 security features.(#65)
In practice, however, does not operate normally when running.
So i fixed error.
Thank you.