In case of a 500 error, attempt a GET to determine if the URI might be incorrect

fix for https://github.com/doctrine/DoctrinePHPCRBundle/issues/154
then we misunderstood each other .. so do you want to duplicate this check in the Client in the ``login()`` method?