fixed login parameter bug

found by nakazawa