+Fix login data gathering for rest auth