Login to a docker index now works, ready for implementation of the actual push logic.
Implement login to a docker registry, error handling