Fixing issue where gapi wouldn't load a library until after the user authenticated, which breaks compatibility with anonymous apis