make the app by xmlns lookup stale

this is only used in get_custom_response_message
fix test
Merge pull request #3849 from dimagi/stale_custom_response_message

make the app by xmlns lookup stale