Auth API Unit test Pull request