Hello Sebastian,
Thanks for reaching out and I hope you are doing well.
When you refresh the page and get the "Not found" message, what is the URL that gets returned?
Reason I am asking is that you are using pathType as Exact in all of your paths, so if the URL changes when you refresh the page, it is expected to receive a 404 or Not Found message.
You may want to change the pathType to Prefix so it will automatically add "" at the end of the path, for example /login will be interpreted as /login if using Prefix as pathType.
You can read more about PathTypes in the following external documents:
https://azure.github.io/application-gateway-kubernetes-ingress/ingress-v1/
https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types
Please "Accept the answer" if the information helped you. This will help us and others in the community as well. Feel free to reply with any other questions or concerns.
Hope this helps!