[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1898: Fix Login error with basic authentication