Partial authentication unit tests.