The user agent timeout is hardcoded as '10' - for sites using LDAP the return can sometimes take longer and this causes the connection to fail. We should be able to optionally raise the timeout