Fix path for automatic_login=False condition