Test for LoginForm.

Signed-off-by: cocolekat <cocolekat@gmail.com>