Authenticated status remembered after exit.

If the user presses the back button and returns to leap_android, the app
will show login or logout button remembering if s/he was authenticated
or not.

This fixes bug #3467.