Add options to docker login

Fixes #966