Default subscription weight to 1.
Clean up frontend auth, close #626.