Check username and password.

Change-Id: I788438c72f067d6901e42588b98d4c7ba2cc5c30