Refactor login method to accept username, password as paramters.
Refactors client configuration and adds logger option.
Fixes implementation for update_transaction and adds spec.