Fix login/reg async loader, add setting dependency