bugfix - bad destination if login fails