Use username and password for proxied requests

Partial fix for #97. Uses username and password from configuration for proxied render requests, if available.