That sucks. For me it happened after a restart. I had a popup in iTunes that I wasn't signed in so I did. Then there was none of my Apple Music in my library. Didn't try again until this morning when I check preferences and noticed the unchecked setting.