Fixed auth and credentials issues
Fixed encoding issues, added better bulk retry logic and exception handling