Allow logout even if auth "module" is disabled
Save autocompleter selected displayed value in session
Remove dead code
Simplify code