Implement basic user auth.