On login and first HG entrance to a foreign grid, perform query access checks before proceeding.