Making sure that the LoginActivity keeps the state upon configuration changes

Fixing #2!