Fixed #23925 -- Right auth backend path in session

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.
add comment: `# For testing auth backends can be referenced using a convenience import`