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
but we do not get a nice error message either when we check the login .. we end up the a 501 error.