Updated service.php and Updated qUnit test cases

service.php wasn't echoing out a json_encode, which was added. Also
fixed the success login to validate correctly, and added a new test for
validating that a person w/the wrong password isn't logged in on
accident.