Added redirect on GET /login.
Fixed /validate_login in tests.
Fixed config object.