moved `@include` tags of api docs directly into the class
Fixes #2425: Tabs widget now selects first tab if no active tab is specified
Validate login data only of there are no other errors