Make sure application gets focus.

Add basic password check mock.