Added some new code to testauth.html that makes it so that the calendar api is used instead of the urlshortener.