add test helper to sign users in and make settings link work