add test case for auth_controller.py

add test case for auth_controller.py