Fix auth-realm configuration