Add complete for login, and use code style of the lib
Add complete for login, and use code style of the lib

Signed-off-by: Alexander Shorin <287dfd97d2274fe201ae7191a244ba25e475e13a@apache.org>

apache/couchdb-jquery-couch,apache/couchdb-jquery-couch