Repass tests with authorize hook. Write sign-in feature tests.