Fixed authentication in production environment