Currently when you supply a localhost endpoint it ignores it for authentication purposes and stil makes a request to `sts.amazonaws.com`.