[66744672] Repass tests with authorize hook. Write sign-in feature tests.