Implement hand-rolled auth with integration test