LoginActivity: warnings fixed