allow competitions to be viewed when not logged in

the page was trying to display a "join team" button for the current user
even when no one was logged in, which was breaking the page. there are a
couple of questionable design choices that led here but this is a quick
fix for now.