Fix login prompt on push and pull because of error message

Fixes #3886

This is bad but I don't know a good solution to this problem with the current api.  

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)