Finished the mock authentication.