Fatal error when tokens are retrieved from session
As soon as a session is present FLOW3 is unable to start up because of
Fatal error: Call to a member function getPOSTArguments() on a non-object in .../F3_FLOW3_Security_Authentication_Token_UsernamePassword.php on line 145
This is caused by the token trying to use
$this->environment after being fetched from a PHP session in ContextHolderSession. This must be fixed ASAP, e.g. by making sure the inject* methods are called after the context holding the tokens is woken up.
In a later stage this should be using session scope with the component manager (see #1947).