add SecurityComponent, refactor, fix redirects for testing, handle login_referer only via session
add SecurityComponent, refactor, fix redirects for testing, handle login_referer only via session

wasabi-cms/wasabi,wasabi-cms/wasabi,wasabi-cms/wasabi