I'm trying to include a feature layer in a web map in Portal, but when I add the layer Portal asks for my server credentials. The service is not secure but I can cancel the pop up and add the layer. However, when I share the web map as a web application I get an invalid token error. Portal and Server are on the same machine and both are using https. Maybe there is a configure error somewhere? Any help is appreciated.