When we configured both windows and claims authentication we could not sign in to SharePoint from a client application like Word or Excel.
When we opend Word and want to save the document to SharePoint we get the login page of the claim provider. When we login to the claim provider we get a access denied message of SharePoint. Using the browser it all worked well.
After some investegation we found that the class autosignin inherits from Page. We have changed the inheritance to 'IdentityModelSignInPageBase'. This solved our problem with client tooling