fixed issue
correction
Merge pull request #66 from php-engineer/master-redirect

Issue with autoPostRedirect while CLI test