On Löb algebras