Backporting P2 fix for Mercury API

Merge pull request #5443 from Wikia/HG-385
HG-385 P2 fix: added InvalidDataApiException to autloader and added fallback to navigation exception