Check if username and password elements are on login page

Change-Id: I37224333792ff0eac32fe439004554157a8aa51e