Fix error when directly accessing /auth