minor changes

fixed bugs in redirection after registration and
auth links in flat-ui-base.html