Static content requires auth with httpNodeAuth

I have:

  • Moved UI to a separate root
  • Configured a custom static folder with httpStatic

Now, if I add httpNodeAuth for authentication when accessing the Dashboard, it also requires authentication for accessing static content (i.e. Removing httpNodeAuth and I can again access static content without authenticating. Is this a bug or am I doing something wrong? I have tripple checked that httpStaticAuth. Also, as a side note, setting httpStaticAuth only also requires authentication on static content, just as expected.