So this is a reoccurring issue and I\'m not qualified to fix it but I need it fixed so I\'m going to have to learn. See this question for an outdated / not feasible solution
So I've made a rudimentary fix that works for now:
This gitlab repo shows a working example here.
It uses static password protection and is also discussed in this issue.