added tests for timeout in authenticator [AEROGEAR-944]