Authenticator, tests and servera improments