fixes login redirect

"referer" url is resolved against configured base url