Handle Docker authentication errors

Fog was not handling at all the error returned by docker-api. This
commit fixes that and raises an AuthenticationError that can be caught
by Fog clients.

There was a bug in the errors code for container_action that this PR
fixes too.
Merge pull request #3268 from eLobato/fix_docker_errors

Handle Docker authentication errors