Fixed broken URLs when redirecting to JasperServer

The code was using getPrincipalId() instead of getPrincipalName() when creating the authtoken parameter used to authenticate the user to JasperServer. This would present the user as some ID number (eg. 10000031) instead of an account name (eg. 'jtester').