Prevention code against forwarding credentials belonging to other registry than the one being contacted did not cope with urls lacking schema. These are recently being sent by Docker clients.
All the credentials were thrown away - therefore user couldn't authenticate to any registry except for docker.io.
Docker daemon's credential checking is now more robust.
Users can now authenticate against any registry.