Fixed bug in LoginActivity.