[Fix bug 840686] Fix API authentication in logged in user queries