Fixed a bug which caused login out to redirect to the homepage.