Fixed authentication backend