Add options (ASK_LOGIN_PASSWORD, LOGIN_PASSWORD).

So, I have legacy servers (require password login).
Original code is http://qiita.com/ingtk@github/items/e1bd500a7d6d95968d3c ( @ingtk )