Using Kopia behind Authentik forward auth

Has anyone managed to set this up? It works fine over reverse proxy in traefik. But when adding a forward auth through Authentik, I cannot login. Authentik is forwarding me to Kopia UI just fine, but Kopia appears to not accept my credentials.