Remove stupid passing of db and auth modules.