Store passwords using keyring
Fix exceptions when connections fail