Fix authentication backend tests