Fixed a regression in jUrl::getCurrentUrl()

The method did not generate the good url, module and action
was not found. Authentication features had then some issues
like inifinite redirection loop or bad support of
the auth_url_return parameter.
fixed unit test