fixing the auth error on firefox