Fix a bug always connecting to the default end point in dynamodb2

Fix a bug always connecting to the default end point in dynamodb2's DynamoDBConnection.