CgHub: move credential file into calculated class property