fix login call for multiple accounts

see #43