Fix a bug in custom authentication

Now custom authenticator can be used in an authenticators array.
Also you can use more than one custom authenticator.
Use pry instead of ruby-debug

ruby-debug is not easy to compile in ruby 2.0+, but pry works fine.
Zerge branch 'use_pry'