Fixed some bugs

In Unipa->login(), return false when empty user ID or password typed.