Prefer session login name over HTTP login name
Fix redirection on login when overriding Basic auth loginname
Merge pull request #2 from DamnDam/patch-1

Prefer session login name over HTTP login name