Fixed Firefox auth: added withCredentials to all calls.