Fixed empty config init, redirect after login