Added http auth to all request if needed