Add session check before browser language auto-detection, to avoid unnecessarily loading a class and calling database - refs #6224
Update changelog - refs #6173