error if failed to get auth cookie - fixes #7