Fixing login and logout URLs.