KCINFR-992: removing parts of doc header workaround, moving budget logic to the proper place
KRACOEUS-6294: start of authorization work
KCINFR-979: fixing compile error.
Merge pull request #566 from leoherbie/auth_prep

KRACOEUS-6294, KCINFR-992