Fixes #2640 - use relative user logout path
fixes #2663 javascript errors on the host form
fixes #2583 - error message is now properly i18n-ed