Auto-redirect to login page on auth failure. Tests. Install docs update.