Sony has indicated it is aware oif and investigating issues related to logging in to the PlayStation Network via the PS4. The official PlayStation Twitter noted the problems a couple of hours ago, but there have been no updates in the interim. The issue doesn't seem very widespread, fortunately.

Thanks, GameInformer.