I am trying to access my API through Postman. In the config, I have set /authenticate to be permitted, but I get 401 unauthorized all the time.
The relevant function: