[FIX] ensure_db() werkzeug.BaseResponse.url usage leads to encoded hashes loss
[IMP] /web/login redirects if already logged in
[IMP] /web/login redirects if already logged in and redirect is present in request.params