Web Application keeps on asking for login when using cloudflare

We have a simple web application that we use for a helpdesk. The application using IIS Windows Authentication for user login. When i put the web application behind the Cloudflare proxy it keeps asking for authentication details. It works just fine if i remove from Cloudflare Proxy. Any ideas what is causing the requests for authentication? The first login is fine then it just keeps asking for login credentials.