Fix login redirect to home_path not working