Initialise password fields when loading the page (to prevent the