Fix for overflowing sign request and also better handling of API endpoint namespacing.