Raise an exception when login file is missing