fix docker login when same username

fixes #697