Wrote the initial version of the 'ajax_login_username_password' handler