Fixed #23925 -- Allowed settings.AUTHENTICATION_BACKENDS to reference import aliases

Added the right auth backend path in session, based on the
path defined in settings.AUTHENTICATION_BACKENDS and not on
the actual path of the backend object.