Do not store redirect uri in session (closes #1839)

Pass it as a GET argument in the login form redirect Location instead.

Also:
- Made LOGINFORM an autonomous page that do not requires the `sole=A`
  argument.
Merge pull request #652 from eguaj/3.2-A1839

Do not store redirect uri in session (closes #1839)