Added automated functional tests for login form