Refactor to remove AuthenticateTask.

HttpTask doesn't need to be abstract.