CF #42 - Handle AJAX login and test it