Create test for authentication controller

refs tourpler/tourpler#2