Added sample usage of the auth api in test form.
Improved test output for readability