Fixed browser autofill

Browser autofill was not working. 

This PR implements a directive that waits 1 second to check if the autofill has filled the login form.

:cactus: