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
i do not think we can magically determine the proper root url inside the Request class .. so either we do it like this .. or we just limit it to when we do on login check