[ALLI-2876] Fixed login to work also with non-default library cards.