Login form polishing
Fix: a lot of notices and wrong behaviour if 'short_urls' config is missing.
Merge branch 'master' of github.com:wind-project/wind