Fix bug where user couldn't navigate to channel tabs

Hashtags in channel names were preventing the user from opening channel tabs as they were redirected back to the login page.
This change encodes hashtags prefixing the channel name in the URL.