Fixes redirection after signing out.