fix auth for ami creation