I see that sddm contains /usr/share/sddm/scripts/Xsession with those includes, but apparently in my case it didn't help including /etc/profile and $HOME/.profile (my shell is bash, and I have $HOME/.profile and no $HOME/.bash_profile). I tested, and sddm does include $HOME/.xsessionrc however.