Initialization of authorization service from the code is now working.