Fix docker_registry login handling, fixes #114