added cancel in authenticator with tests [AEROGEAR-955]