changed it so that passwords can be disabled in production mode