Fixed crash if going directly to a typewright page without logging in.