Adjusted the auth data to be compatible with the server