Added unit test for login form input filter