Request authentication token from keystone before if connection to ApiSe...

...rver fails
use request.codes.notauthorized