Fixed AWS env auth wrong removal.