basic authlogic unit test