Fixed transition between LoginActivity and MainActivity.