Login failure doesn't redirect to the homepage anymore