Use Android API level 5.
Add OnAuthenticationListener

OnAuthenticationListener is used to respond to a successful
authentication with a server, typically handling an authentication
cookie.
Add Authenticator interface

Authenticator is used to asynchronously initiate an authentication
process.
Implement Authenticator for Google App Engine