Added test cases for login module.
Added test cases for login module.