* feat: add support for basic auth on prometheus * fix: properly name middleware generator * refactor: move all prometheus configs into common object * chore: add suggestions from review add back old config switch and print warning if it is used * fix: undo accidental change * fix: rebase/merge issue