MYFACES-2954 ExternalContext.encodeRedirectURL() fails if 'baseUrl' contains empty parameters (Thanks to Christian Kaltepoth for this patch)