Add return authenticatedToken

Add return authenticatedToken if userProvider !instanceof ChainUserProvider
Fix if condition follow psr
Merge pull request #7 from enguys/master

Add return authenticatedToken