Update AuthSubscriber.php
to prevent logout error
#3074
Merged
AuthSubscriber.php
to prevent logout error
#3074