Maia Error session_is_registered with PHP 5.4

Found this error after updating to the last known release to-date 1.0.3 and having PHP 5.4 installed.
This manifested itself by showing a white page when trying to logout or accessing the link that gets sent by Maia by Email.

Patch can be found here:
Joomla SEF URLs by Artio