- In fixPathForApiContext add / after contextPath
- Add some debug messages