Remove URL encoding for jsession id cookie.
Redirect to original requested page on login.
Don't add the destination URL for the case of getting the index page.