Fixed logout without a hashbang in URL