[fixes #80928120] queryForResource was not picking up token header properly
Merge pull request #5 from e-schultz/bug-token-maint

[fixes #80928120] queryForResource was not picking up token header prope...