Factored out checking eauth cfg
Factored out repeated log message
Factored out method to verify token & cache
wip: More factoring out repeat code