Fix autologin method : credentials can now be saved at any time.