[frontend] Fix redirect if not signed in