Clear the auth adapter and identity if successfully posted a new login request

Fixes #219