Don't fail `cargo login` if `~/.cargo` doesn't exist

Closes #927
auto merge of #941 : alexcrichton/cargo/issue-927, r=brson

Closes #927