Fix of authorization