Bug fix to logout URL in base template