Fixed authentication with a redirect to root.