Added more tests for the actionSubmitLogin and processLoginSubmit