overrides managewp authenticate if we're using ajax-settings; fixes content-type warning