Try to use pz2 API instead of jQuery for initial auth call.