Set up login and index fixes.