Make authentification work with browser autofill